package com.base.common.http.handler;

import java.io.Closeable;

/**
 * Socket 适配器类
 */
public abstract class SocketAdapterHandler extends Thread implements Closeable {
    /**
     * 获取Handler 类型
     * @return
     */
    abstract int getType();

    protected  boolean isEmpty(String str){
        return (null == str || str.equals("") || str.trim().equals(""));
    }
}
